#ifndef _DATAELEMENT_H_
#define _DATAELEMENT_H_

#include <cstdio>
#include <exception>
#include <stdexcept>
#include <typeinfo>

class DataElement {
	private:
		const char *name;
		long double size;
		int type;

	public:
		/*Constants to each type od Data*/
		enum {INPUT_DATA, OUTPUT_DATA};
	
		DataElement(const char *name, long double size, int type);
		~DataElement();
		const char *getName();
		void setSize(long double newSize);
		long double getSize();
		int getType();
};

#endif //_DATAELEMENT_H_
